﻿using System;
using ScoutOffice.BLL;
using System.Collections.Generic;

public class PScoutList
{
    private IScoutList _view;

	public PScoutList(IScoutList view)
	{
        _view = view;
        RegisterEvents();
	}

    private void RegisterEvents()
    {
        _view.InitialLoad += new EventHandler(_view_InitialLoad);
    }

    void _view_InitialLoad(object sender, EventArgs e)
    {
        List<Scout> scouts = new List<Scout>();
        scouts.Add(new Scout("Joe", "Scout"));
        _view.Scouts = scouts;
    }
}
